projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
708261e
)
credit2: Make fake runq map initilization explicit
author
Keir Fraser
<keir@xen.org>
Fri, 29 Oct 2010 09:19:30 +0000
(10:19 +0100)
committer
Keir Fraser
<keir@xen.org>
Fri, 29 Oct 2010 09:19:30 +0000
(10:19 +0100)
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
xen/common/sched_credit2.c
patch
|
blob
|
history
diff --git
a/xen/common/sched_credit2.c
b/xen/common/sched_credit2.c
index 0bf81c9d4c0519422e9d1ff61d42ed7c10ac2e5d..0735f3b2179afbc9dc1207ddfee4f802166c6342 100644
(file)
--- a/
xen/common/sched_credit2.c
+++ b/
xen/common/sched_credit2.c
@@
-1135,6
+1135,7
@@
make_runq_map(struct csched_private *prv)
prv->runq_count = 1;
prv->rqd[0].cpu_min = 0;
prv->rqd[0].cpu_max = NR_CPUS;
+ memset(prv->runq_map, 0, sizeof(prv->runq_map));
}
static int